<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let obj = {a : 1, b : 2, c : 3}
        function deepCopy(obj) {
            let newObj = {};
            if (typeof obj != "object") {
                return obj;
            }
            for (let key in obj) {
                newObj[key] = deepCopy(obj[key])
            }
            return newObj;
        }
        
    </script>
</body>
</html>